package com.fred.backjava.mapper;

//import generator.domain.User;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fred.backjava.model.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity generator.domain.User
 */
public interface UserMapper extends BaseMapper<User> {

    public User selectByUserAccount(@Param("userAccount")String userAccount);

//    根据主键id进行删除用户
    int deleteByUserId(@Param("id") Long id);

}




